@import '~@/scss/global/colors.scss';

.ui-main {
    
    /*解决页面闪烁问题*/
    backface-visibility: hidden;
    z-index:0;
    
    /deep/ .ui.attached.menu {
        overflow: hidden;
        height: 39px;
    }
    
}

.ui-menu {
    border: none !important;
    box-shadow: inset 0 -2px #e4e7ed !important;
}

.goback {
    cursor: pointer;
    
    &:hover {
        background: $content-heightLight !important;
    }
    
    &:hover i {
        color: invert($content-title-txt);
    }
}

.ui-menu {
    border: none !important;
    box-shadow: inset 0 -2px rgba(#000, .2) !important;
    backface-visibility: hidden;
}

.ui.block {
    background: $content-bg;
}

.topAccordion {
    /*max-height:200px;*/
}

.topAccordion-bar {
    position: relative;
    z-index: 1;
    top: -1px;
    background: #eef1f6;
    border-top: 1px solid #D4D4D5;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, .2);
    padding: 4px 10px;
    height: 39px !important;
    
    .button {
        position: relative;
        top: 1px;
        margin-right: 5px !important;
    }
    
    i.icon {
        margin: 0;
    }
    
    > .toggle {
        display: block;
        background: #fff;
        width: auto;
        padding: 7px 10px 0 10px;
        border: 1px solid #D4D4D5;
        border-top: 1px solid #fff;
        font-size: 14px;
        cursor: pointer;
        color: #333;
        margin-top: -5px;
        border-radius: 0 0 3px 3px;
        
        &:hover {
            color: #25B7D3;
        }
    }
}

.topAccordion-bar-toolbar {
    .button {
        float: left;
    }
    
    font-size: 0;
    
    > *:first-child {
        > * {
            float: left;
        }
    }
}

// elementUI Pagination 居中调整
.topAccordion-bar-toolbar /deep/ .el-pagination {
    padding: 4px 5px !important;
    
    .el-pagination__sizes {
        line-height: 18px !important;
    }
    
    .el-pagination__total, .el-select__caret {
        line-height: 22px !important;
    }
}

.parting-line {
    float: left;
    position: relative;
    display: inline-block;
    top: 2px;
    border-right: 1px solid #ddd;
    height: 25px;
    width: 10px;
    padding: 5px;
    margin-right: 15px;
}

.fade-enter-active {
    transition: all .6s;
}

.fade-leave-active {
    transition: all .3s;
}

.fade-enter, .fade-leave-active {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
}
